/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ru.dusty.fs.filesystem.utils;

/**
 *
 * @author Dusty
 */
public class PrimitiveSizes {
    
    public static int sizeof(byte b) { return 1; } 
    
    public static int sizeof(short s) { return 2; }
    
    public static int sizeof(int i) { return 4; }
    
    public static int sizeof(long l) { return 8; }
    
    public static int sizeof(char ch) { return 2; }
}
